* {
  box-sizing: border-box;
  margin: 0px;
}

h1 {
  display: inline-block;
  font-size: 32px;
  padding: 3px;
  border: 4px solid white;
}

h2 {
  display: inline-flex;
  padding-right: 5%;
  width: 300px;
  font-size: 50px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

section {
  width: 100%;
  display: flex;
  padding: 2%;
}

section text {
  width: 80%;
}

content {
display: flex;
flex-wrap: wrap;
flex: 2;
width: 80%;
}

card {
  display: flex;
  border: 4px solid black;
  position: relative;
  padding: 10px;
  margin: 10px;
  background-color: antiquewhite;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

contact ul li {
  padding-top: 50px;
  display: inline-block;
  margin-left: 150px;
  font-size: larger;
  font-family: 'Times New Roman', Times, serif;
  font-weight: 1000;
}

.nav {
  display: inline-block;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  background-color: black;
  color: white;
}

.nav menu {
  padding-top: 10px;
  margin-right: 30px;
  float:right;
  font-family: 'Gill Sans', 'Gill Sans MT', 'Calibri, 'Trebuchet, sans-serif;
  font-size: 17px;
  color: white;
}

.nav ul li {
  display: inline-flex;
  margin-left: 25px;
}

.banner {
  height: 125px;
  width: 100%;
  background-image: linear-gradient(black, grey,white);
  background-size: cover;
  background-position: center;
}

.banner sub {
  display: flex;
  margin-top: 5%;
  font-size: 26px;
  width: 300px;
  justify-content: center;
  float: right;
  background-color: gold;
}

#NavBarColor {
  color: white;
}

#line {
  width: 4px;
  height: auto;
  background-color: black;
  display: inline-flex;
  margin-right: 1%;
}

#title {
  position: absolute;
  bottom: 8px;
  left: 16px;
  border: 4px solid black;
  background-color: black;
  font-size: large;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  color: white;
  width: 150px;
  height: 75px;
}

#subtitle {
  position: absolute;
  bottom: 9px;
  left: 15px;
  font-size: small;
  color: white;
  margin-left: 5px;
}

#column {
  width: 50%;
}

#card1 {
  width: 48%;
}
#profilepic {
  height: 55px;
  width: 55px;
}

card:hover {
  background-color: yellow;
}

menu li:hover {
  background-color: yellow;
}

contact a:hover {
  background-color: yellow;
}

#About {}
#Work {}
#Resume {}

@media (max-width: 700px) {

  #title {
    font-size: medium;
  }

  #subtitle {
    font-size: x-small;
  }
  
  contact ul li {
    display: inline-block;
    margin-left: 20px;
    font-size: larger;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 100
  }

  content {
    flex: auto;
  }
  
}